source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '10.0'
use_frameworks!

def network_pods
    
    pod 'PromiseKit'
    pod 'Moya'
    pod 'Moya/RxSwift'
    pod 'Alamofire'
    pod 'Kingfisher'
    pod 'HandyJSON'
    pod 'ReachabilitySwift'
    
end

def umsocial_pods
   
    pod 'UMCCommon'
    pod 'UMCSecurityPlugins'
    pod 'UMCAnalytics'
    pod 'UMCPush'
    pod 'UMCErrorCatch'
    pod 'UMCCommonLog'
    pod 'UMCShare/UI'
    pod 'UMCShare/Social/ReducedWeChat'
    pod 'WechatOpenSDK'
   
end

def ui_pods
    
    pod 'Eureka', '4.2.0'
    pod 'Toast'
    pod 'DZNEmptyDataSet'
    pod 'MBProgressHUD'
    pod 'IQKeyboardManagerSwift'
    pod 'UIColor_Hex_Swift'
    pod 'SwiftFontName'
    pod 'ESTabBarController-swift'
    pod 'pop'
    
end

def rx_pods
    
    pod 'RxSwift'
    pod 'RxCocoa'
    
end

def navigator_pods
        
end

def codeStyle_pods
    
    pod 'SwiftLint'
    
end

def all_pods
    
    network_pods
    umsocial_pods
    ui_pods
    rx_pods
    navigator_pods
    codeStyle_pods
    
end

###################################################

workspace 'ExtremeHealth'
project 'ExtremeHealth'

target 'ExtremeHealth' do
  
  all_pods
  
end
